<%@page contentType="text/html; charset=utf-8" %>
<!DOCTYPE html>
<html>

<head>
	<title>上机考试系统</title>
	<link rel="shortcut icon" href="${basePath}static/img/1.ico" />
	<link rel="bookmark" href="${basePath}static/img/1.ico" />
	<!-- For-Mobile-Apps-and-Meta-Tags -->
	<meta name="viewport" content="width=device-width, initial-scale=1" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="keywords" content="" />
	<script
		type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
	<!-- //For-Mobile-Apps-and-Meta-Tags -->

	<link href="${basePath}static/css/login.css" type="text/css" rel="stylesheet" media="all">
	<style>
		body{
			background-image:url(./static/img/logina.png);
			background-position:left top;
		}
		h1{
			margin-top:0px;
		}
		.position0{
			position:absolute;
			top: 20px;
			left: 200px;
		}
		.position1{
			position:absolute;
			top: 20px;
			left: 600px;
		}
		.position2{
			position:absolute;
			top: 20px;
			left: 1000px;
		}
	</style>
</head>
<body>

	<div id="container">
		<div id="output">
			<div class="containerT">
				
				<h1 style="text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);font-size: 45px">上机考试系统</h1>
				<div class="controls w3l">

					<div class="clear"></div>
					</div>
					<div class="stage" style="text-align: center;">
							<div id="t_form" class="cbImage w3 position0" style="box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);">
								<h3 style="text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);">教师</h3>

								<form action="login" method="post" class="form" >
									<input name="uname" required type="text" placeholder="用户名"  value="001">
									<input name="pwd" required type="password" placeholder="密码" value="123456">
									<input name="type" type="hidden" value="1"/>
									<button type="submit">登录</button>
									<div id="prompt" class="prompt">${error1}</div>
								</form>
							</div>
							<div id="s_form" class="cbImage active signin agileits position1" style="box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);">
								<h3 style="text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);">学生</h3>
								<form action="login" method="post"  class="form">
									<input name="uname" required type="text" placeholder="学号" value="2016020001">
									<input name="pwd" required type="text" placeholder="姓名" value="蒋新月" >
									<input name="type"  type="hidden" value="0"/>
									<button type="submit" >登录</button>
									<div id="prompt" class="prompt">${error0}</div>
								</form>
							</div>
							<div id="a_form" class="cbImage agileinfo position2" style="box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);">
								<h3 style="text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);">管理</h3>
								<form action="login" method="post" class="form">
									<input name="uname" required  type="text" placeholder="用户名" value="001">
									<input name="pwd" required type="password" placeholder="密码" value="123456">
									<input name="type" type="hidden" value="2"/>
									<button type="submit">登录</button>
									<div id="prompt" class="prompt">${error2}</div>
								</form>
							</div>
							<div class="clear"></div>
						</div>
					<div class="clear"></div>
					<div class="footer">
						<p>&copy;  2023 第一组</p>
					</div>

				</div>
			</div>
		</div>
</body>
</html>